﻿@inherits Isha.Web.Mvc.IshaViewPage
@{
    string PartName = IshaModel.ContentItem.Type.Name.ToString();
}
<form method="post">
<fieldset>
    <legend>Add @PartName</legend>
    <div class="editor-label">
        Title
    </div>
    <div class="editor-field">
        <input type="text" maxlength="255" size="60" value="@IshaModel.ContentItem.Title" style="width:45%;height:25px;"
                id="ContentItem.Title" name="ContentItem_Title"/>
    </div>
    <div class="editor-label">
        Summary
    </div>
    <div class="editor-field">
        <textarea id="ContentItem.Description" cols="40" name="ContentItem_Description" rows="5"
            style="width: 100%">@IshaModel.ContentItem.Description</textarea>
    </div>
    @Html.Part("create" + PartName)    
    <p class="form-actions">
        <br />
        <input type="submit" value="Save" title="Save" />
    </p>
</fieldset>
@Html.Part("editor")
</form>
